package com.alibaba.citrus.cr.unified.inventory.repository;

import com.epoch.app.crunifiedinventory.consignmentorderline.model.ConsignmentOrderLine;
import com.epoch.app.crunifiedinventory.sdo.ConsignmentOrderLineSDO;
import com.epoch.app.crunifiedinventory.sdo.ConsignmentOrderSDO;

public interface ConsignmentOrderRepository {
    String create(ConsignmentOrderSDO consignmentOrderSDO);

    Boolean delete(ConsignmentOrderSDO consignmentOrderSDO);

    ConsignmentOrderSDO query(String outerDeliveryId);
    ConsignmentOrderSDO queryByOuterSaleNo(String outerOrderNo);

    void deleteOrder(ConsignmentOrderSDO consignmentOrderSDO);

    void update(ConsignmentOrderSDO consignmentOrderSDO);

    boolean updateFor033(ConsignmentOrderSDO consignmentOrderSDO);
}
